using System;

namespace NCover.Report.Format
{
	/// <summary>
	/// Writes text summary report
	/// </summary>
	public class TextSummaryReport : IReport
	{
		public void Generate(System.IO.TextWriter textWriter, CoverageReport report)
		{
			textWriter.WriteLine(String.Format(report.Title + " Test Coverage: {0:P}", report.TestCoveragePercentage));
		}
	}
}
